package com.atguigu.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 孟繁钦
 * @createDate: 2021-12-07 22:39
 * @description: 自定义异常
 */

@Data
@AllArgsConstructor/*生成有参构造方法*/
@NoArgsConstructor/*无参构造*/
public class GuliException extends RuntimeException{
    private Integer code;/*状态码*/
    private String msg;/*异常信息*/
}
